#ifndef __LCD_BSP_H
#define __LCD_BSP_H 

#include "maos_sys.h"

#ifdef __cplusplus
extern "C"{
#endif
	
#define DISPWIDTH		128
#define DISPHEIGHT		64
#define DISPPAGE		(DISPHEIGHT/8)




void lcd_bsp_init(void);
void setPos(u8 x, u8 page);
void lcd_bsp_write(u8 data);
void lcd_bsp_write_backlight(bool on);
bool lcd_bsp_read_backlight(void);

#ifdef __cplusplus
}
#endif
#endif /* __LCD_BSP1_H */
